home *** CD-ROM | disk | FTP | other *** search
- Path: news.uh.edu!usenet
- From: Sensarn <txs53132@bayou.uh.edu>
- Newsgroups: comp.lang.c++
- Subject: Re: calloc() - is there a C++ equivalent ?
- Date: Tue, 19 Mar 1996 22:01:44 -0800
- Organization: AEtna Insurance Agency
- Message-ID: <314F9F48.1EAA@bayou.uh.edu>
- References: <4inkp1$je5@ncar.ucar.edu>
- NNTP-Posting-Host: sip-14280.public-dialups.uh.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (Win16; I)
-
- James Adams wrote:
- >
- > Hello,
- >
- > The subject line says it all - I want to allocate a block of
- > memory which I can count on being initialized to zero, as the calloc()
- > call in C will return. Is there such a beast in C++, or will I have to
- > do the initialization programmatically ?
-
- Calloc should be in C++ too (it's in TC++). I think NEW would be
- better, though...
- >
- > Thanks for any suggestions/insight !
- >
- > -James
- >
- > P.S. Please email information if possible.
- > --
- > ---------------------------------------------------------------------------
- > James Adams Email: jadams@ucar.edu
- > National Center for Atmospheric Research Phone: (303) 497-1356
- > Boulder, Colorado Fax: (303) 497-1348
- >
- > WWW: http://www.cgd.ucar.edu/ccr/jadams/home.html
-
- --
- ______________________________
-
- Steven Sensarn
- E-Mail - txs53132@bayou.uh.edu
- ______________________________
-